/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.edu.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.TreeService;
import com.jeesite.modules.edu.entity.EduTwoOrganization;
import com.jeesite.modules.edu.dao.EduTwoOrganizationDao;

/**
 * edu_two_organizationService
 * @author 赵俊飞
 * @version 2019-03-13
 */
@Service
@Transactional(readOnly=true)
public class EduTwoOrganizationService extends TreeService<EduTwoOrganizationDao, EduTwoOrganization> {
	
	/**
	 * 获取单条数据
	 * @param eduTwoOrganization
	 * @return
	 */
	@Override
	public EduTwoOrganization get(EduTwoOrganization eduTwoOrganization) {
		return super.get(eduTwoOrganization);
	}
	
	/**
	 * 查询列表数据
	 * @param eduTwoOrganization
	 * @return
	 */
	@Override
	public List<EduTwoOrganization> findList(EduTwoOrganization eduTwoOrganization) {
		return super.findList(eduTwoOrganization);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param eduTwoOrganization
	 */
	@Override
	@Transactional(readOnly=false)
	public void save(EduTwoOrganization eduTwoOrganization) {
		super.save(eduTwoOrganization);
	}
	
	/**
	 * 更新状态
	 * @param eduTwoOrganization
	 */
	@Override
	@Transactional(readOnly=false)
	public void updateStatus(EduTwoOrganization eduTwoOrganization) {
		super.updateStatus(eduTwoOrganization);
	}
	
	/**
	 * 删除数据
	 * @param eduTwoOrganization
	 */
	@Override
	@Transactional(readOnly=false)
	public void delete(EduTwoOrganization eduTwoOrganization) {
		super.delete(eduTwoOrganization);
	}
	
}